<?php
// include class
include_once 'Services/Twitter.php';

try {
  // initialize service object
  // perform login
  $service = new Services_Twitter('indigozero', 'guessme');
  
  // update status
  $service->statuses->update('Having dinner with friends');
   
  // perform logout
  $service->account->end_session();
} catch (Exception $e) { 
  die('ERROR: ' . $e->getMessage());
}
?>
<!--Consumer key     VzbQfui0TnV7QR0VNpU2Q
Consumer secret     ijF2ZxiwXr0V1KtJvj5bSU3SWzEwThHJi6tMSwlJNFk
Request token URL     https://api.twitter.com/oauth/request_token
Authorize URL     https://api.twitter.com/oauth/authorize
Access token URL     https://api.twitter.com/oauth/access_token
Callback URL     None-->


<!--Access token     259658800-wfYjek7899UBDRDT0FUEF1RmbLJigj9OJoZ1vbgp
Access token secret     PNckHWEdtIHui53lYnf5GtMz84srtrldLMjb7Gew
Access level     Read-only-->
